﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration.Provider;
using System.Configuration;
using System.Collections.Specialized;

namespace ESF.SharePoint.ActivityAggregators.Providers
{
    public abstract class ActivityAggregatorProvider : ProviderBase, IActivityAggregatorProvider
    {
        //public abstract void CollectActivities(Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection source);
        //public abstract void CompactActivites();
        //public abstract Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection GetNewActivities();

        public abstract List<ESF.SharePoint.Entities.CustomActivityEvent> ProcessActivities(List<ESF.SharePoint.Entities.CustomActivityEvent> source);

        public NameValueCollection Settings { get; set; }
        public override void Initialize(string name, NameValueCollection config)
        {
            Settings = config;
            base.Initialize(name, config);
        }
    }
}
